package com.ax.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TabDown entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TabDown", schema = "dbo", catalog = "uploadDown")
public class TabDown implements java.io.Serializable {

	// Fields

	private Integer did;
	private String dname;
	private String dvalue;

	// Constructors

	/** default constructor */
	public TabDown() {
	}

	/** full constructor */
	public TabDown(String dname, String dvalue) {
		this.dname = dname;
		this.dvalue = dvalue;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "DID", unique = true, nullable = false)
	public Integer getDid() {
		return this.did;
	}

	public void setDid(Integer did) {
		this.did = did;
	}

	@Column(name = "DName", length = 50)
	public String getDname() {
		return this.dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	@Column(name = "DValue", length = 50)
	public String getDvalue() {
		return this.dvalue;
	}

	public void setDvalue(String dvalue) {
		this.dvalue = dvalue;
	}

}